#pragma once

#include <iostream>
#include <string>
#include <vector>
#include <glm/glm.hpp>

namespace vortex
{
    struct SampleMesh
    {
        std::vector<glm::vec3> positions;
        std::vector<glm::vec3> normal;
        std::vector<glm::vec2> texcoords;

        SampleMesh() {}
    };

    class MeshLoader
    {
    public:
        // mesh loader when building the scene.
        static int load_obj(const std::string& model_path, SampleMesh& mesh);
        static int load_gltf(const std::string& model_path, bool is_glb = false);
    };
}
